x11/gl: Do not try to call MakeCurrent with a NULL context
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 25 Mar 2015 15:18:44 +0000 (15:18 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 25 Mar 2015 15:18:44 +0000 (15:18 +0000)
commit85141bc503701b5e3a25fbb5a5982da4cadeec85
treeb3cd92d8c4dc812e4d76ab7d880aa37eee5290a0
parentb899a7838761eb52a39dca64534331b366dea582
x11/gl: Do not try to call MakeCurrent with a NULL context

This should not happen, but better safe than sorry.

https://bugzilla.gnome.org/show_bug.cgi?id=746746
gdk/x11/gdkglcontext-x11.c